package com.vilen.basic.service;

import com.vilen.basic.model.User;

import java.util.List;

/**
 * Created by Administrator on 2016/2/17.
 */

public interface IUserService {
    public void add(User user);
    public void update(User user);
    public void delete(int id);
    public User load(int id);
    public User loadByUsername(String username);
    public User loadByOpenid(String openid);
    public User login(String username,String password);
    public List<User> list();
}
